home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / maximus / sqrep103.zip / CARVE.DOC < prev    next >
Text File  |  1992-03-08  |  2KB  |  74 lines

  1.  
  2.                                 C A R V E
  3.                                 ~~~~~~~~~
  4.  
  5. This little ditty takes the report file generated by SqReport and 'carves'
  6. it up into smaller, logical pieces.
  7.  
  8. The report file from SqReport can be quite long and, therefore difficult or
  9. impossible to easily integrate into your message base.
  10.  
  11. Alternatively, maybe you're not interestedin all of the information
  12. contained within the report and just want to save selected parts.
  13.  
  14. HOW TO USE:
  15. -----------
  16.  
  17. Entering Carve -? at the DOS prompt yields:
  18.  
  19. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  20.  
  21. Syntax --> Carve [-rREPORTFILE] [-aAddress] [-lNUMBER]
  22.  
  23. ReportFile = Drive:\Directory\ReportFile  Report File from SqReport.
  24.  
  25. -aADDRESS = Optional.  The address of your node
  26.  
  27. -lNUMBER  = Optional.  Number of Lines per report.
  28.  
  29. Creates:    SRin.?     for inbound messages
  30.             SRdupe.?   for duplicate messages
  31.             SRout.?    for outbound bytes
  32.             SRecho.?   for echo area traffic
  33.             SRsum.?    for the summary report
  34.             SRdead.?   for dead areas
  35.  
  36. Where ? is replaced by 1,2..9,0,A,B..Y,Z as required
  37.  
  38. If no -l parameter is specified, the entire report segment
  39. is placed into a single file.
  40.  
  41. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  42.  
  43. Entering Carve -Rfilename will generate 5 (or 6 if SqReport has be run with
  44. the -A option) files containing the Inbound/Dupe/Outbound/Echo Area/Summary
  45. and Dead areas.
  46.  
  47. In some cases, these individual files may still be too large for your use.
  48. If so, you can specify -Lnum for the maximum number of lines you'd like
  49. each file to contain (a parameter of -L150 will result in a maximum file
  50. size of just under 10k, ideal for converting into messages with a utility
  51. such as MakeMsg).
  52.  
  53. Here's a batch example:
  54.  
  55. :WEEKLY
  56.  SqReport -Dweekly.dat -R203-53.OUT -Aareas.bbs -i10 -o30000
  57.  carve -R203-53.out -L150 -A1:203/53
  58.  for %%f in (srin.? srdupe.? srout.? srecho.? srsum.? srdead.?) do
  59.   ---------> line wrapped ---------------------> call makestat %%f
  60.  erase c:\squish\sr*.*
  61.  erase c:\squish\weekly.dat
  62.  
  63. Here is makestat.bat called from above:
  64.  
  65.     makemsg -xd:\bbs\makemsg.cfg -cc:\squish\%1
  66.  
  67. The above batch segments carve up the weekly report and create individual
  68. messages in our local sysop echo.
  69.  
  70. v1.03
  71. =====
  72.    Added a date header to the top of each report segment
  73.  
  74.